﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Database.Models
{
    [Table("NguyenNhanChay")]
    public sealed class NguyenNhanChay : BaseModel
    {
        public NguyenNhanChay()
        {            
        }

        public int Id { get; set; }        

        [Required]
        [MaxLength(255)]
        public string NguyenNhan { get; set; }
    }
}